class Volunteer {
    String firstName
    String lastName
    String email
    String password

    static constraints = {
        firstName(blank:false)
        lastName(blank:false)
        email(blank:false,unique:true,email:true)
        password(blank:false)
    }

    String toString() {
        "$firstName $lastName"
    }
}
